<?php 

namespace pmvc\aop;

interface MethodInterceptor {

	/**
	 * Called when a method has been called on the
	 * intercepted class.
	 * @param mixed $object
	 * @param string $methodName
	 * @param array $args
	 * @param mixed $userData
	 */
	function methodInvoked($object, $methodName, &$args, $userData=NULL);
}

?>